package lumis.portal.sendmail.dao.hibernate;

import java.util.Date;

import lumis.portal.sendmail.IMailSendStatus;

/**
 * Implementation of {@link IMailSendStatus} used by {@link SendMailDaoHib}.
 * 
 * @version $Revision: 6251 $ $Date: 2007-03-27 10:49:29 -0300 (Tue, 27 Mar 2007) $
 * @since 4.0.4
 */
class MailSendStatus implements IMailSendStatus
{
	private int status = STATUS_SEND_PENDING;
	private String errorMessage;
	private Date sentDateTime;
	
	public Date getSentDateTime()
	{
		return sentDateTime;
	}
	public void setSentDateTime(Date sentDate)
	{
		this.sentDateTime = sentDate;
	}
	public int getStatus()
	{
		return status;
	}
	public void setStatus(int status)
	{
		this.status = status;
	}
	public String getErrorMessage()
	{
		return errorMessage;
	}
	public void setErrorMessage(String errorMessage)
	{
		this.errorMessage = errorMessage;
	}
}
